import { request } from "../utils/request";
// export const request("https://api.oioweb.cn/api/bing")
export function put1(data,method) {
  return request("/test/put",method = "put",{id:123,name:'456'})
}

export function get1(data,method) {
  return request("/test/get",method = "get",{id:123,name:'456'})
}

export function post1(data,method) {
  return request("/test/post",method = "post",{id:123,name:'456'})
}

export function delete1(data,method) {
  return request("/test/delete",method = "delete",{id:123,name:'456'})
}

export function testApi(data,method) {
  return request("/api/bing",method = "put",{id:123,name:'456'})
}

export function banner(data,method) {
  return request("/home/banners",method = "get",{id:123,name:'456'})
}
